import request from '@/utils/request'

// 查询土报告详细列表
export function listWjjhlSnhshjlBaDetail(query) {
  return request({
    url: '/report_wjjhl/wjjhlSnhshjlBaDetail/list',
    method: 'get',
    params: query
  })
}

// 查询土报告详细详细
export function getWjjhlSnhshjlBaDetail(id) {
  return request({
    url: '/report_wjjhl/wjjhlSnhshjlBaDetail/' + id,
    method: 'get'
  })
}

// 新增土报告详细
export function addWjjhlSnhshjlBaDetail(data) {
  return request({
    url: '/report_wjjhl/wjjhlSnhshjlBaDetail',
    method: 'post',
    data: data
  })
}

// 修改土报告详细
export function updateWjjhlSnhshjlBaDetail(data) {
  return request({
    url: '/report_wjjhl/wjjhlSnhshjlBaDetail',
    method: 'put',
    data: data
  })
}

// 删除土报告详细
export function delWjjhlSnhshjlBaDetail(id) {
  return request({
    url: '/report_wjjhl/wjjhlSnhshjlBaDetail/' + id,
    method: 'delete'
  })
}
